<div class="root">
  <div class="head">
    <slot name="head"></slot>
  </div>
  <div class="body">
    <slot name="body"></slot>
  </div>
</div>

<style>
  .root {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  :global() .head {
    height: 60px;
    padding: 0 16px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    /* box-sizing: border-box; */
    display: flex;
    align-items: center;
    flex: 0 0 60px;
  }
  :global() .head h2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4em;
    margin: 0;
    padding: 0;
    border: none;
  }
  :global() .body {
    position: relative;
    flex: 1;
    overflow-y: scroll;
    font-size: 11px;
    line-height: 1.6em;
  }
  :global() .body h3 {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2em;
    text-transform: uppercase;
    margin: 8px 0;
    height: auto;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    padding-top: 1em;
  }
</style>
